package com.situ.YiChangTest;

import java.io.File;
import java.util.jar.Attributes.Name;

public class Test1 {
	public static void main(String[] args) {
//		File src = new File(new File("d:/"),"a.txt");
//		System.out.println(src.getName());
//		System.out.println(src.getPath());
//		File src =  new File("d:/a.txt"); 
//		System.out.println(src.getName());
//		System.out.println(src.getPath());
		File src = new File("b.txt");
		System.out.println(src.getName());
		System.out.println(src.getPath());
		System.out.println(src.getAbsolutePath());
	}
}
